<?php $trueProfile = true; ?>

<?php $__env->startSection('title'); ?><?php echo $title; ?> <?php $__env->stopSection(); ?>

 <?php echo $__env->make('includes.cover-static', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<?php $__env->startSection('content'); ?> 

<!-- Col MD -->
<div class="col-md-12">	
			
	<?php if( $total != 0 ): ?>
	
	<h1 class="title-item none-overflow">
	<?php echo Lang::get('users.likes'); ?> <small>(<?php echo Helper::formatNumber( User::totalLikes( $user->id ) ); ?>)</small>
	</h1> 
<hr />

	<?php echo $__env->make('includes.shots', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
	
	<?php else: ?>
	
	<?php if( Auth::check() && $user->id != Auth::user()->id || !Auth::check() ): ?>
	<div class="btn-block text-center">
	    	<i class="icon-heart ico-no-result"></i>
	    </div>
	<h3 class="margin-top-none text-center no-result user-no-result">
	    	- <strong><?php echo $user->name; ?></strong> <?php echo Lang::get('users.no_like'); ?> -
	    	</h3>
	    	
	    <?php elseif(Auth::check() && $user->id == Auth::user()->id): ?>	
	    <div class="btn-block text-center">
	    	<i class="icon-heart ico-no-result"></i>
	    </div>
	    <h3 class="margin-top-none text-center no-result user-no-result">
	    	- <?php echo Lang::get('users.session_no_like'); ?> -
	    	</h3>	
	    	
	    	<?php endif; ?>
	
	
	<?php endif; ?>
	
</div><!-- /COL MD -->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>